package com.lrkj.property.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 场位管理对象 tm_site_post_manag
 *
 * @author yajun_ren
 * @date 2022-03-16
 */
@Data
public class SitePostManag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 场地ID */
    @Excel(name = "场地ID")
    private String siteId;

    /** 场位名称 */
    @Excel(name = "场位名称")
    private String sitePostName;

    /** 小区ID */
    @Excel(name = "小区ID")
    private String communityId;

    /** 场位面积 */
    @Excel(name = "场位面积")
    private BigDecimal sitePostArea;

    /** 收据抬头 */
    @Excel(name = "收据抬头")
    private String receiptTitle;

    /** 场位状态 */
    @Excel(name = "场位状态")
    private String status;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 祖父ID */
    @Excel(name = "祖父ID")
    private String ancestors;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private Integer orderNum;

    //小区名称
    private String communityName;

    //场站名称
    private String siteName;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteId", getSiteId())
            .append("sitePostName", getSitePostName())
            .append("communityId", getCommunityId())
            .append("sitePostArea", getSitePostArea())
            .append("receiptTitle", getReceiptTitle())
            .append("status", getStatus())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("ancestors", getAncestors())
            .append("updateBy", getUpdateBy())
            .append("orderNum", getOrderNum())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
